-
Notifications
You must be signed in to change notification settings - Fork 7.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Possible perf improvement and logging for team members routing logic #17154
Conversation
type SelectFieldWebhookResponse = string | number | string[] | { label: string; id: string | null }; | ||
type FORM_SUBMITTED_WEBHOOK_RESPONSES = Record< | ||
string, | ||
{ | ||
/** | ||
* Deprecates `value` prop as it now has both the id(that doesn't change) and the label(that can change but is human friendly) | ||
*/ | ||
response: number | string | string[] | SelectFieldWebhookResponse | SelectFieldWebhookResponse[]; | ||
/** | ||
* @deprecated Use `response` instead | ||
*/ | ||
value: FormResponse[keyof FormResponse]["value"]; | ||
} | ||
>; | ||
type TeamMemberWithAttributeOptionValuePerAttribute = Awaited< | ||
ReturnType<typeof getTeamMembersWithAttributeOptionValuePerAttribute> | ||
>[number]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just moved types above
a107eaa
to
f160bcd
Compare
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 2 Skipped Deployments
|
Graphite Automations"Add consumer team as reviewer" took an action on this PR • (10/18/24)1 reviewer was added to this PR based on Keith Williams's automation. "Add ready-for-e2e label" took an action on this PR • (10/18/24)1 label was added to this PR based on Keith Williams's automation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
E2E results are ready! |
What does this PR do?
Enables Server timings to be able to identify what is slow:
What they represent
Locally I don't see much improvement with a concurrency of 2 though. But the logging would help us in knowing what is the biggest bottle neck
Mandatory Tasks (DO NOT REMOVE)